home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Hyper / T / ToolKit Help 5.0.1.sit / ToolKit™ Help / ToolKit™ Help.rsrc / TEXT_8029_TKscreenSize.txt < prev    next >
Encoding:
Text File  |  1994-05-05  |  1.5 KB  |  81 lines

  1. ‚Ä¢ Introduction 
  2.  
  3.       TKscreenSize
  4.       XFCN
  5.       No. 4412
  6.       Version:  2.4
  7.       Copyright ¬© 1990, 1991 by Stan Gilbert
  8. __________________________________________________
  9.  
  10. Returns the size of the screen or window.
  11.  
  12.  
  13.  
  14. ‚Ä¢ Parameters
  15. __________________________________________________
  16.  
  17. Parm1
  18.  
  19. SCR
  20. returns size of current SCREEN
  21.  
  22. WIND
  23. returns size of current WINDOW
  24.  
  25. VALIDW (advanced use)
  26. sets the current window to a valid rect (see ValidRect in Inside Macintosh)
  27.  
  28. VALIDS (advanced use)
  29. sets the current screen to a valid rect (see ValidRect in Inside Macintosh)
  30. --basically this tells the Macintosh that this rect on the screen is valid and
  31. does NOT require updating
  32.  
  33.  
  34.  
  35. ‚Ä¢ Requirements
  36. __________________________________________________
  37.  
  38. ÓÊ
  39.  
  40.  
  41.  
  42. ‚Ä¢ Return Values
  43. __________________________________________________
  44.  
  45. √ì√äStandard rect parameters plus width and height in global coordinates
  46.  
  47. Left,Top,Right,Bottom,Width,Height
  48.  
  49.  
  50.  
  51. ‚Ä¢ Related Topics
  52. __________________________________________________
  53.  
  54. ÓÊ
  55.  
  56.  
  57.  
  58. ‚Ä¢ Special Features
  59. __________________________________________________
  60.  
  61. ÓÊ
  62.  
  63.  
  64.  
  65. ‚Ä¢ Examples
  66. __________________________________________________
  67.  
  68. ÓÊ
  69. get TKscreenSize("window")
  70. if item 5 of TKscreenSize("screen") > 512 then put 1 into largeScreen
  71. get TKscreenSize("validw")
  72.  
  73. ‚Ä¢ More Information
  74. __________________________________________________
  75.  
  76. ÓÊ
  77.  
  78.  
  79.  
  80. ‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû
  81.